package D12_6z.反射和IO_1;

public class Cat extends Animal {
    String color;

    public Cat(String id,String name,String color) {
        super(id,name);
        this.color = color;
    }

    @Override
    public String toString() {
        return "Cat{" +
                "id='" + id + '\'' +
                ", color='" + color + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
